home *** CD-ROM | disk | FTP | other *** search
/ PCNet 1998 June / PCnet Haziran 1998.iso / Internet / Tools / ANJAVA10.ZIP / DATA1.CAB / Program_Executable_Files / Applet / flagload / flagload.txt < prev    next >
Encoding:
Text File  |  1998-04-23  |  6.1 KB  |  134 lines

  1.  
  2.           FlagLoad 1.1 - Copyright (C) by Fabio Ciucci 1996/98
  3.  
  4.  
  5. This applet can load and animate in realtime a waving flag.
  6. You can load any GIF/JPG flag, of size 50x33.
  7. Remember that are needed both FlagLoad.class , Lware.class and anfy.class.
  8. You must upload these 3 .class files and insert the <applet> tag on your
  9. html document to add this applet to your page.
  10. This applet is fully parametrized, so you can change the intensity and
  11. speed of wind.
  12. Here an example of what you have to write in the html (the things anfter
  13. the ; are comments with min-max values acceptet):
  14.  
  15.  
  16. <applet code="AnFlag.class" width=167 height=117>  ; Name, Width, Height
  17. <param name=credits value="Applet by Fabio Ciucci (www.anfiteatro.it/java.html)">
  18. <param name=regcode value="NO">         ; Register code (if you have it)
  19. <param name=reglink value="NO">         ; URL where go optionally when clicked
  20. <param name=regnewframe value="YES">    ; Reglink opened in new frame?
  21. <param name=regframename value="_blank"> ; Name of new frame for reglink
  22. <param name=statusmsg value="FlagLoad applet">  ; Statusbar message
  23. <param name=res value="1">             ; Resolution (1-8)
  24. <param name=backR value="0">           ; RED comp. of backg. color (0-255)
  25. <param name=backG value="0">           ; GREEN comp. of backg. color (0-255)
  26. <param name=backB value="60">          ; BLUE comp. of backg. color (0-255)
  27. <param name=pattern value="8">         ; Type of drawing pattern (1-8)
  28. <param name=speed value="3">           ; Speed of wind
  29. <param name=curve value="3">           ; Curve level (1-5)
  30. <param name=wind value="8">            ; Wind intensity (0-20)
  31. <param name=flagload value="anat.gif"> ; flag image to load (size: 50x33)
  32. <param name=textscroll value="flagscr.txt"> ; File for scrolltext or "NO"
  33. <param name=textoffset value="140">         ; Txtscroll y offset
  34. <param name=textspeed value="1">          ; Txtscroll speed
  35. <param name=textfont value="Arial">       ; Txtscroll font name
  36. <param name=textbold value="NO">          ; Txtscroll bold ("YES" or "NO")
  37. <param name=textsize value="24">          ; Txtscroll font size
  38. <param name=textshadow value="YES">       ; Txtscroll shadow ("YES" or "NO")
  39. <param name=TextColR value="200">         ; Txtscroll color (red component)
  40. <param name=TextColG value="255">         ; Txtscroll color (green component)
  41. <param name=TextColB value="190">         ; Txtscroll color (blue component)
  42. <param name=TextSColR value="20">         ; Txtscroll shadow col. (red c.)
  43. <param name=TextSColG value="20">         ; Txtscroll shadow col. (green c.)
  44. <param name=TextSColB value="50">         ; Txtscroll shadow col. (blue c.)
  45. <param name=TextJumpAmp value="0">        ; Txtscroll jump aplitude
  46. <param name=TextJumpSpd value="0">        ; Txtscroll jump speed
  47. <param name=TextSineAmp value="0">        ; Txtscroll sineshape amplitude        
  48. <param name=TextSineSpd value="0">        ; Txtscroll sineshape movement
  49. <param name=TextSineAngle value="0">      ; Txtscroll sineangle / pixel  
  50. <param name=memdelay value="1000">        ; Memory deallocation delay
  51. <param name=priority value="3">           ; Task priority (1..10)
  52. <param name=MinSYNC value="10">           ; Min. milliseconds/frame for sync
  53. Sorry, your browser doesn't suppor Java.  ; Message for no java browsers.
  54. </applet>                                 ; End of applet tag
  55.  
  56.                              ---------
  57.  
  58.  
  59. Here detailed instructions about how to change parameters:
  60.  
  61.  
  62. The credits parameter can't be changed otherwise the applet will not work.
  63.  
  64. To activate the reg parameters read the shareware registration notes.
  65. In the "regcode" parameter you have to place the registration code you
  66. purchase from the author. If it is correct and the applet is run from the
  67. registered domain name, you can use "reglink" parameter, where you can specify
  68. an URL where bring user when the applet is clicked.
  69. If you set to "YES" regnewframe, you can specify a frame where load the
  70. reglink:
  71.  
  72. "_blank"  : To load the link in a new blank unnamed browser window.
  73. "_self"   : To load the link into the same window the applet occupies.
  74. "_parent" : To load the link into the immediate FRAMESET parent.
  75. "_top"    : To load the link into the top body of the window.
  76.  
  77. Otherwise the frame name, for example "myframe1".
  78.  
  79. The parameter res is the resizer, but I think in this applet the best value
  80. is 1, because enlarging screen cause worst and slower effect.
  81.  
  82. You can change the background colour for best results over your web page,
  83. the RGB values are same as HTML tags, but in decimal values.
  84.  
  85. The style of painting can be changed with the parameter "pattern":
  86.  
  87. 1 = small dots
  88. 2 = double dots
  89. 3 = stars
  90. 4 = stars with central hole
  91. 5 = triangles
  92. 6 = triple dots
  93. 7 = triple dots dithered 1
  94. 8 = triple dots dithered 2
  95.  
  96. The "speed" parameter will control speed of effect.
  97.  
  98. The "curve" level will change the Y perturbation intensity.
  99.  
  100. The "wind" value will change the metereologic situation: 0 = no waving,
  101. and 20 = uragan.
  102. Be careful... you have to manually set the width and height in <applet>
  103. tag, following this table:
  104.  
  105. wind=0    ->    width=151 height=101
  106. wind=1    ->    width=153 height=103
  107. wind=2    ->    width=155 height=105
  108. wind=3    ->    width=157 height=107
  109. wind=4    ->    width=159 height=109
  110. wind=5    ->    width=161 height=111
  111. wind=6    ->    width=163 height=113
  112. wind=7    ->    width=165 height=115
  113. wind=8    ->    width=167 height=117
  114. wind=9    ->    width=169 height=119
  115. wind=10   ->    width=171 height=121
  116. wind=11   ->    width=173 height=123
  117. wind=12   ->    width=175 height=125
  118. wind=13   ->    width=177 height=127
  119. wind=14   ->    width=179 height=129
  120. wind=15   ->    width=181 height=131
  121. wind=16   ->    width=183 height=133
  122. wind=17   ->    width=185 height=135
  123. wind=18   ->    width=187 height=137
  124. wind=19   ->    width=189 height=139
  125. wind=20   ->    width=191 height=141
  126.  
  127. I am sorry of this, but browsers does not resize() the applet.
  128.  
  129. The most important parameter is: "flagload".
  130. Here you must place te name of the image file with flag to load.
  131. This image must be 50 pixels im width and 33 in height.
  132.  
  133.  
  134.